import Vue from 'vue'
import Vuex from 'vuex'
import Login from './modules/login'
import Users from './modules/users'
import Role from './modules/role'
import Expert from './modules/expert'
import Org from './modules/organzition'
import Article from './modules/article'
import File from './modules/file'
import Friend from './modules/friend'
import Privilege from './modules/privilege'
import FrontUser from './modules/frontUser'
import Domain from './modules/domain'
import Notice from './modules/notice'
import Ad from './modules/ad'
import Project from './modules/project'
import Download from './modules/download'
import News from './modules/news'
import Forum from './modules/forum'
import HotNews from './modules/hotNews'
import Decision from './modules/decision'
import Point from './modules/point'
import ThinkTank from './modules/thinkTank'
import Special from './modules/special'
import TTResult from './modules/ttResult'
import Questionnaire from './modules/questionnaire'
import AddressBook from './modules/addressBook'
import OrgEva from './modules/orgEva'
import publishAdmin from './modules/publishAdmin'
import ThemeAd from './modules/themeAd'

Vue.use(Vuex)

export default new Vuex.Store({
    modules: {
        Login,
        Users,
        FrontUser,
        Privilege,
        Role,
        Expert,
        Org,
        Article,
        File,
        Friend,
        Domain,
        Notice,
        Ad,
        Project,
        Download,
        News,
        Forum,
        HotNews,
        Decision,
        Point,
        ThinkTank,
        Special,
        TTResult,
        Questionnaire,
        AddressBook,
        OrgEva,
        publishAdmin,
        ThemeAd
    }
})